package com.stylefeng.guns.modular.rate.service;

import com.stylefeng.guns.modular.system.model.Rate;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-07
 */

public interface IRateService extends IService<Rate> {
    /**
     * 查询当月的费率，如果为空的话则查询最近一期不为空的费率
     * @param time
     * @return
     * @author laoyu
     * @Date 2018-07-24
     */
    Rate search( @PathVariable("time")String time);

}
